package cn.edu.hunau.java.week01.day05;

import org.junit.Test;

public class CallBackTest {
    @Test

    public void testCallBack(){
        System.out.println(f(24));
    }
    public long f(long n){
        if(n==1 || n==2){
            return 1L;
        }
        return f(n-1)+f(n-2);
    }
}
